package com.tsy.server.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tsy.server.system.entity.Role;
import com.tsy.server.system.entity.vo.RolePermissionVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 角色Mapper接口
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    RolePermissionVO getPermissionsByRoleId(@Param("roleId") Long roleId);
}